package com.sc.design.visitor;

/**
 * @author sc
 * Created on  2017/12/7
 */
public abstract class Employee {
    private String name;
    private int salary;
    private int gender;



    public abstract void accept(IVisitor visitor);


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }
}
